package com.TestDemo;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class TestStringBXXX {

    public static void main(String[] args) throws Exception {
        StringBuilder stringBuilder = new StringBuilder();
        StringBuffer stringBuffer = new StringBuffer();


        System.out.println("请输入：");

        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        String s = input.readLine();

        System.out.println("输入为：" +s);

        int i = Integer.parseInt(s);
        int i1 = Integer.valueOf(s);


        System.out.println(i+i1);

    }


}
